package com.quectel.util.client.mongo.builder;

import com.mongodb.BasicDBObject;

/**
 * mongo高级查询object构造器
 *
 * @author CL
 */
public class MongoObjectParamHelper extends BasicDBObject {

    /**
     * Add a key/value pair to this object
     *
     * @param key the field name
     * @param val the field value
     * @return this BasicDBObject with the new values added
     */
    @Override
    public MongoObjectParamHelper append(final String key, final Object val) {
        put(key, val);
        return this;
    }

}
